2))、(Use any technique

Easy Flux Inpaint (Florence, SAM2 & SEGS Detailer)

--

Index 0 Error: A couple of people have experienced an error "There's nothing in Index 0" and I had it happen to me today. Has the Florence Large model selected, worked fine for Inpainting an image, I then swapped to a different image and that's when the error happened. Changed the model to base, went through fine. Tried some other versions of Florence and the error came back. Changed image and went back to Large and no error. Seems like some versions of Florence are failing to pick up the prompt for what needs to be masked and giving empty data to the co-ordinates node, hence the error. So if you do get it, try base which seems to be the least affected by it, or try changing your mask prompt. Worst case scenario if none of that works is to switch to manual mask and try auto again with the next image you want to Inpaint. Update 4: Added an invert Mask node. If you put person into the Florence prompt for the auto masking and enable the invert mask node, you can use it to Inpaint the background. Update 3: Added a couple of LoRAModelLoaderOnly nodes. Update 2: Added the ModelSamplingFlux node, not quite sure how I missed that. In addition, swapped out the Load and Resize Image node for a standard load image node and also added an image switch node to the Manual mask group. A couple of times I switched to that but forgot to add the picture to the load image in the Florence group, so the result was not what I expected. Seemed silly having to load the same image twice, so I've put that with the switch to swap masks. Have both set to true if you're using Florence and SAM2 for auto masking, false if you need to mask something by hand.
Ashen
ComfyUI workflow for Flux (simple)

--

It is a simple workflow of Flux AI on ComfyUI. EZ way, kust download this one and run like another checkpoint ;) https://civitai.com/models/628682/flux-1-checkpoint-easy-to-use Check out more detailed instructions here: https://maitruclam.com/flux-ai-la-gi/ Just 20GB and no more download alot of thing. it was a bug when i tried to run flux on A1111 but i was finally able to use it on ComfyUI :V Old ver: You will need at least 30 GB to use them :) *** If you are a newbie like me, you will be less confused when trying to figure out how to use Flux on ComfyUI. In addition to this workflow, you will also need: Download Model: 1. Model: flux1-dev.sft: 23.8 GB Link: https://huggingface.co/black-forest-labs/FLUX.1-dev/tree/main Location: ComfyUI/models/unet/ Download CLIP: 1. t5xxl_fp16.safetensors: 9.79 GB 2. clip_l.safetensors: 246 MB 3. (optional if your machine has less than 32GB of TvT ram) t5xxl_fp8_e4m3fn.safetensors: 4.89 GB Link: https://huggingface.co/comfyanonymous/flux_text_encoders/tree/main Location: ComfyUI/models/clip/ Download VAE: 1. ae.sft: 335 MB Link: https://huggingface.co/black-forest-labs/FLUX.1-schnell/blob/main/ae.safetensors Location: ComfyUI/models/vae/ If you are using an Ubuntu VPS like me, the command is as simple as this: # Download t5xxl_fp16.safetensors to the directory ComfyUI/models/clip/ wget -P /home/ubuntu/ComfyUI/models/clip/ https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors # Download tp clip_l.safetensors to ComfyUI/models/clip/ wget -P /home/ubuntu/ComfyUI/models/clip/ https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors # (Optional) Download t5xxl_fp8_e4m3fn.safetensors to ComfyUI/models/clip/ wget -P /home/ubuntu/ComfyUI/models/clip/ https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp8_e4m3fn.safetensors # Download ae.sft to ComfyUI/models/vae/ wget -P /home/ubuntu/ComfyUI/models/vae/ https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/ae.safetensors For the model, you will need to learn how to generate Huggingface Access Tokens and add them to download and use like this: I don't know much about them so you can find out more. Why don't I make tutorial for Windows 10, 11 or XP? What do you expect from a Mario 64 laptop :) Original tutorial: https://comfyanonymous.github.io/ComfyUI_examples/flux/ Note: It works well with FLUX.1-Turbo-Alpha, LORA human face. 👤✨ Useful and FREE resources: ❤️Free server to make art with Flux: Shakker and Tensor Art and Sea Art ✨ More FLUX LORA? List and detailed description of each LORA I implement here: https://maitruclam.com/lora📚 🆕 First time using FLUX? Explanation and tutorial with A1111 forge offline and Comfy UI here: https://maitruclam.com/flux-ai-la-gi/🌐 🛠️ How to train your LORA with Flux? My detailed instructions are here: https://maitruclam.com/training-flux/📚 ❤️ Donate me (I would be real
Ashen